import request from '@/utils/request.js'
export function SysPermission() {
  return request({
    url: '/sys/permission'
  })
}
export function SysPermissionDel(id) {
  return request({
    url: '/sys/permission/' + id,
    method: 'delete'
  })
}
export function SysPermissionPost(data) {
  return request({
    url: '/sys/permission',
    method: 'post',
    data
  })
}
export function SysPermissionPut(data) {
  return request({
    url: '/sys/permission/' + data.id,
    method: 'post',
    data
  })
}
